package com.zb.frame.modules.sys.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.zb.frame.base.model.MPPage;
import com.zb.frame.modules.sys.entity.ParamList;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author bangZZ
 * @since 2020-09-07
 */
public interface ParamListService extends IService<ParamList> {

    MPPage getParams(Page<ParamList> pageInfo, Map<String, Object> params);

    boolean isExist(String key);

    ParamList addParam(ParamList data);

    ParamList updateParam(ParamList data);

}
